// import { Suspense } from 'react';
import { BrowserRouter } from "react-router-dom";
import Layouts from "./layouts/index";
import RouterView from "./router/loadable-index";
import store from "./store";
import { Provider } from "react-redux";
import "antd-mobile/dist/antd-mobile.css";

function App() {
  return (
    <div className="App">
      <BrowserRouter>
        <Provider store={store}>
          <Layouts>
            <RouterView />
          </Layouts>
        </Provider>
      </BrowserRouter>
    </div>
  );
}

export default App;
